package cn.itcast.dubboxdemo.controller;

public class HelloWorld {

	public static void main(String[] args) {

		User user = new User("张三", "123");
		String temp = "error1";
		System.out.println("1");
		System.out.println("1");
		System.out.println("1");
		System.out.println("1");
		if (user.getName().equals("李四")) {
			System.out.println("李四来了");
		}
		if ("error".equals(temp)) {
			System.out.println("这是一个错误");
		} else {

			System.out.println("这是对的");
		}
		System.out.println("1");
		System.out.println("1");
		System.out.println("1");
		System.out.println("1");
	}
}

class User {
	String name;
	String password;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public User() {
		super();
	}

	public User(String name, String password) {
		super();
		this.name = name;
		this.password = password;
	}

}
